# -*- mode: snippet -*-
# name: Beamer Template (default; BibEntry)
# key: beamer
# group: templates
# expand-env: ((yas-indent-line 'fixed))
# --
\documentclass[xcolor={dvipsnames},aspectratio=169]{beamer}
% options: notes,handout; aspectratio=169,1610,149,54,43,32
\usepackage[bibentry,bg]{styles/zyuebeamer} % biblatex,sans,txmath,bg,charter,notoc
% \usepackage[sans,bibentry]{styles/zyuebeamerdark}

% Packages
\usepackage{latexsym, amsmath, amssymb, amsfonts,
            arydshln, mathrsfs, mathtools, upgreek}
\usepackage{graphicx,subcaption,tikz}
  \captionsetup[figure]{textfont=scriptsize,labelfont=scriptsize}
  \setbeamerfont{caption}{size=\scriptsize}
\usepackage{algorithm,algpseudocode}
\usepackage{appendixnumberbeamer}

% Macros
% \input{userdef-mathsym}

% Title Page
\title[]{${1:title}}
\subtitle{${2:}}
\author{\small Zuogong Yue$^1$\\\\[1ex] J. Thunberg$^1$, L. Ljung$^2$, J. Goncalves$^1$}
\institute[]{
    \begin{tabular}{ll}
      $^1$ Universit\\'{e} du Luxembourg, Luxembourg\\\\
       $^2$ Link\\"{o}ping University, Sweden
    \end{tabular}}
\date{\footnotesize 14 July 2016 $\cdot$ MTNS 2016 $\cdot$ Minneapolis, MN}

% Table of Contents (before each section)
\AtBeginSection[]{
\begin{frame}
  \frametitle{Outline}
  \tableofcontents[currentsection]
\end{frame}}


\begin{document}

% ---- Title Page ----
\setbeamertemplate{footline}{}				% remove page number
\begin{frame}
  \vspace*{1cm}
  \titlepage
  \bibliographystyle{apalike}               % abbrv;apalike
  \nobibliography{./ref/library}			% enable citations by /bibentry/
\end{frame}
\setbeamertemplate{footline}[frame number]  % reset page number
\setcounter{framenumber}{0}


% ---- Main Part ----

$0



% ---- Thanks Frame ----
\section*{Thanks}
\setbeamertemplate{footline}{}  % remove page number

\begin{frame}
    \vspace*{1cm}
    \begin{center}
      {\Huge \bf \textcolor{mAlert}{Thank you!}} \\\
      \bigskip
      \bigskip
      \includegraphics[width=10cm]{figures/unix_happy.jpg}
    \end{center}
\end{frame}


% ---- Appendix ----
% \appendix
% \begin{frame}
%   \frametitle{Appendix: ...}
%
% \end{frame}


% ---- Bibliography ----
% using /bibentry/; adding bibliography as footnote at each page
% include bibtex libraries in the tilepage frame.

\end{document}
